package com.manshutingyu.gateway;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：yinyuxia
 * @Date：2025/4/22 17:05
 */
@RefreshScope
@RestController
@RequestMapping("/my")
public class MyController {
    @Value("${security.captcha.type}")
    private String type;

    @GetMapping("/heheda")
    public String heheda(@RequestParam("id") Long id){

       return "hello:";
    }
}
